import http from "./http.js"

export default {
	//首页轮播
	homepage(params) {
		return http.get(`/wxapp/homepage`, params)
	},
	//首页轮播
	homepage_post(params) {
		return http.post(`/wxapp/homepage`, params)
	},
	//首页轮播
	homepage_delete(params, id) {
		return http.delete(`/wxapp/homepage/${id}`, params)
	},
	//首页轮播
	homepage_put(params, id) {
		return http.put(`/wxapp/homepage/${id}`, params)
	},
}
